package com.example.mbl.service;

import com.example.mbl.dto.ResearchArticleDto;
import com.example.mbl.entity.Research;
import com.example.mbl.result.PageResult;
import com.example.mbl.result.WebRestResult;
import com.example.mbl.result.business.ResearchPageResult;
import com.example.mbl.result.business.ResearchResult;

public interface ResearchService {
    WebRestResult addResearch(Research research);
    WebRestResult deleteResearch(Research research);
    WebRestResult updateResearch(Research research);
    WebRestResult setResearchVisible(Research research);
    PageResult<ResearchPageResult> getResearchList(String name,int page,int pagesize);
    ResearchResult getResearchItem(String researchid);
    WebRestResult addResearchArticle(ResearchArticleDto researchArticleDto);
    WebRestResult deleteResearchArticle(int id);
}
